package com.john.springsecuritydemo.service;

import org.springframework.security.core.Authentication;

import javax.servlet.http.HttpServletRequest;

/**
 * 日期 2021/6/3 12:53
 * 创建者：john driver
 */
public interface MyService {
    boolean hasPermission(HttpServletRequest request, Authentication authentication);
}
